package com.desire;

import com.desire.config.CustomLoadBalancerConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author desire
 */
@SpringBootApplication
@EnableEurekaClient
@LoadBalancerClient(value = "ERP-STOCK", configuration = {CustomLoadBalancerConfig.class})
//@LoadBalancerClients(defaultConfiguration = {CustomLoadBalancerConfig.class})
public class ErpOrderApplication {

	public static void main(String[] args) {
		SpringApplication.run(ErpOrderApplication.class, args);
	}

}
